Skip to content

Add advisory v2 api endpoint 2224#2227

Open
shivamshrma09 wants to merge 2 commits intoaboutcode-org:mainfrom
shivamshrma09:add-advisory-v2-api-endpoint-2224
Open

Add advisory v2 api endpoint 2224#2227
shivamshrma09 wants to merge 2 commits intoaboutcode-org:mainfrom
shivamshrma09:add-advisory-v2-api-endpoint-2224

Conversation

@shivamshrma09
Copy link

Summary

Add a dedicated /api/v2/advisories/ endpoint for the AdvisoryV2 model.

Changes

  • AdvisoryV2ViewSet at /api/v2/advisories/ (ReadOnly)
  • AdvisoryV2FilterSet with filters: alias, advisory_id, datasource_id
  • Registered in api_v2_router
  • 8 test cases in AdvisoryV2ViewSetTest

Fixes #2224

Signed-off-by: shivamshrma09 <shivamsharma27107@gmail.com>
@shivamshrma09 shivamshrma09 force-pushed the add-advisory-v2-api-endpoint-2224 branch from 24423fa to 7fe2c65 Compare March 20, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing source URL from severity details tab

1 participant